<template>
  <div class="work-record-header">
    <el-row>
      <el-col :span="24">
        <!-- 搜索部分 -->
        <el-form :inline="true" :model="formInline" label-width="120px">
          <el-form-item :label="$t('testerId')">
            <el-select v-model="formInline.region" placeholder >
              <el-option label="区域一" value="shanghai"/>
              <el-option label="区域二" value="beijing"/>
            </el-select>
          </el-form-item>
          <el-form-item :label="$t('handlerId')">
            <el-select v-model="formInline.region" placeholder >
              <el-option label="区域一" value="shanghai"/>
              <el-option label="区域二" value="beijing"/>
            </el-select>
          </el-form-item>
          <el-form-item :label="$t('lotId')">
            <el-input v-model="formInline.region" placeholder />
          </el-form-item>
          <el-form-item :label="$t('timeInterval')">
            <el-date-picker
              :default-time="['00:00:00','23:59:59']"
              :start-placeholder="$t('startTime')"
              :end-placeholder="$t('endTime')"
              v-model="value"
              type="datetimerange"
            />
          </el-form-item>
          <el-form-item>
            <el-button type="primary" icon="el-icon-search" >{{ $t('search') }}</el-button>
            <el-button type="primary" icon="el-icon-download" >{{ $t('export') }}</el-button>
          </el-form-item>
        </el-form>
      </el-col>
    </el-row>
  </div>
</template>
<script>
export default {
  name: 'WorkRecordHeader',
  data() {
    return {
      formInline: {
        region: ''
      },
      value: ''
    }
  }
}
</script>
<style lang="scss" scoped>
.el-row {
  min-height: 46px;
  padding: 10px;
  background-color: #fff;
}
.el-dropdown-link {
  cursor: pointer;
  color: #409eff;
}
.el-icon-arrow-down {
  font-size: 12px;
}
</style>
